<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style>
        section{
            width: 500px;
            height: 700px;
            border: 1px solid #000;
            margin: 50px auto;
            display: grid;
            grid-template: 
                "a1 a2 a2"1fr
                "a3 a2 a2"1fr
                "a4 a4 a5"1fr
                "a6 a7 a7"1fr
                /1fr 1fr 1fr;
                grid-gap: 10px 10px
        }
        .box1{
            /* 兼容和标准写法 */
            background: linear-gradient(to bottom,#1981E6,#31ABF3);
            grid-area: a1
        }
        .box2{
            /* 兼容和标准写法 */
            background: linear-gradient(to bottom,#1981E6,#31ABF3);
            grid-area: a2
        }
        .box3{
            /* 兼容和标准写法 */
            background: linear-gradient(to bottom,#F3266F,#FF5AAC);
            grid-area: a3
        }
        .box4{
            /* 兼容和标准写法 */
            background: linear-gradient(to bottom,#1981E6,#31ABF3);
            grid-area: a4
        }
        .box5{
            /* 兼容和标准写法 */
            background: linear-gradient(to bottom,#1981E6,#31ABF3);
            grid-area: a5
        }
        .box6{
            /* 兼容和标准写法 */
            background: linear-gradient(to bottom,#D36802,#E8AB1D);
            grid-area: a6
        }
        .box7{
            /* 兼容和标准写法 */
            background: linear-gradient(to bottom,#D36802,#E8AB1D);
            grid-area: a7
        }
    </style>
</head>
<body>
    <section>
        <div class="box1"></div>
        <div class="box2"></div>
        <div class="box3"></div>
        <div class="box4"></div>
        <div class="box5"></div>
        <div class="box6"></div>
        <div class="box7"></div>
    </section>
</body>
</html>